package com.tee.live.user.utils;


/**
 * @author tee
 * @date 2025/9/20
 */
public class TagInfoUtils {

    /**
     * 查询是否存在某个标签
     *
     * @param tagInfo 用户标签
     * @param matchTag 要判断是否存在的标签
     * @return
     */
    public static boolean isContain(Long tagInfo,Long matchTag) {
        return tagInfo != null && matchTag != null && (tagInfo & matchTag) != 0;
    }

}
